home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr29 / zs103e.zip / ZSTREAM.INF (.txt) < prev    next >
OS/2 Help File  |  1995-03-18  |  88KB  |  1,492 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. ZipStream ΓòÉΓòÉΓòÉ
  3.  
  4.  
  5. ΓòÉΓòÉΓòÉ 2. Copyright ΓòÉΓòÉΓòÉ
  6.  
  7. Third Edition (March 1995) 
  8.  
  9. This publication could include technical inaccuracies or typographical errors. 
  10. Changes are periodically made to the information in this publication. Carbon 
  11. Based Software may make improvements and/or changes to the 
  12. product(s)/program(s) described in this publication at any time. 
  13.  
  14. Copyright (C) Carbon Based Software  1994 - 1995.  All Rights Reserved. 
  15.  
  16. No part of this publication may be reproduced, stored in a retrieval system or 
  17. transmitted in any form or by any means, electronic, mechanical, chemical, 
  18. photocopy, recording or otherwise without the prior written permission of 
  19. Carbon Based Software. 
  20.  
  21.  
  22. ΓòÉΓòÉΓòÉ 3. Trademarks ΓòÉΓòÉΓòÉ
  23.  
  24. ZipStream is a trademark of Carbon Based Software. 
  25.  
  26. IBM OS/2 are trademarks of International Business Machines Corporation. 
  27.  
  28. Pentium is a trademark of Intel Corporation. 
  29.  
  30. ALL TRADEMARKS AND SERVICE MARKS ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS. 
  31.  
  32.  
  33. ΓòÉΓòÉΓòÉ 4. License ΓòÉΓòÉΓòÉ
  34.  
  35. INTRODUCTION 
  36.  
  37. This is a legal agreement which allows you, the end user, to use ZipStream 
  38. under certain terms and conditions.  If you cannot agree to abide by what this 
  39. agreement says, you should not use ZipStream. 
  40.  
  41. This agreement explains when and how you may use the program ZipStream from 
  42. Carbon Based Software. 
  43.  
  44. COPYRIGHT 
  45.  
  46. ZipStream is fully protected by copyright under Australian law and 
  47. international treaty provisions. 
  48.  
  49. OWNERSHIP OF SOFTWARE 
  50.  
  51. Carbon Based Software retains title and ownership of ZipStream. You, subject to 
  52. conditions in this agreement have license to use ZipStream.  This license is 
  53. not a sale of the original software or any copy. 
  54.  
  55. USE OF ZIPSTREAM 
  56.  
  57.  1. You agree not to install or use any individual copy of ZipStream on more 
  58.     than one computer at any one time. 
  59.  
  60.  2. If you purchased a multi-system license for ZipStream, you agree not to 
  61.     install or use it on more computers than the number included in your 
  62.     license, as shown on your invoice. 
  63.  
  64. COPYING OF ZIPSTREAM 
  65.  
  66. ZipStream and the accompanying written materials are copyrighted. Unauthorised 
  67. copying of the ZipStream software or documentation is forbidden. You may make 
  68. copies of the ZipStream software which are necessary for normal backup 
  69. purposes.  You agree not to make any other copies of  ZipStream, the manual(s), 
  70. or any part of them, or sell or give any copies to others, without our advance 
  71. written permission. 
  72.  
  73. REGISTRATION NUMBER 
  74.  
  75. The Registered Copy of the ZipStream software is provided with a unique 
  76. Registration Number.  This Registration Number is not be given to others or 
  77. publicized in any manner. 
  78.  
  79. MISCELLANEOUS 
  80.  
  81. No one may modify or patch the ZipStream executable files in any way, 
  82. including, but not limited to decompiling, disassembling, or otherwise reverse 
  83. engineering the program. 
  84.  
  85. SHAREWARE LICENSE CONDITIONS 
  86.  
  87. If you are evaluating a Shareware Copy of ZipStream the following conditions 
  88. apply. 
  89.  
  90. EVALUATION PERIOD 
  91.  
  92. You may use a Shareware Copy of ZipStream for an evaluation period of up to 30 
  93. days, in order to determine whether ZipStream meets your needs before 
  94. purchasing it.  Once the evaluation period ends, you agree to either purchase a 
  95. Registered Copy of ZipStream, or to stop using it.  If you have ordered a 
  96. Registered Copy of ZipStream from us or from a dealer, you may continue to use 
  97. your Shareware Copy until your Registered Copy arrives. 
  98.  
  99. MAKING AND DISTRIBUTING SHAREWARE COPIES OF ZIPSTREAM 
  100.  
  101. A limited license is granted to copy and distribute the Shareware Copy of 
  102. ZipStream only for the trial use of others, subject to the above limitations, 
  103. and also the following: 
  104.  
  105. 1. The Shareware Copy of ZipStream must be copied in unmodified form, complete 
  106. with the file containing this license information. 
  107.  
  108. 2. The Shareware Copy of ZipStream may not be distributed in conjunction with 
  109. any other product without a specific license to do so from Carbon Based 
  110. Software. 
  111.  
  112. 3.  The Registration Number of a Registered Copy of ZipStream may NOT be 
  113. provided to others or publicized in any manner. 
  114.  
  115. 4. No fee, charge, or other compensation may be requested or accepted, except 
  116. as authorised below: 
  117.  
  118. a. Operators of electronic bulletin board systems (sysops) may make Shareware 
  119. Copies of ZipStream available for down loading only as long as the above 
  120. conditions are met.  An overall or time-dependent charge for the use of the 
  121. bulletin board system is permitted as long as there is not a specific charge 
  122. for the down load of the Shareware Copy of ZipStream. 
  123.  
  124. b. Vendors of user-supported or Shareware software approved by the ASP may 
  125. distribute the Shareware Copy of ZipStream, subject to the above conditions, 
  126. without specific permission. 
  127.  
  128. Non-approved vendors may distribute the Shareware Copy of ZipStream only after 
  129. obtaining written permission from Carbon Based Software. 
  130.  
  131. USE OF THIS PRODUCT FOR ANY PERIOD OF TIME CONSTITUTES YOUR ACCEPTANCE OF THIS 
  132. AGREEMENT AND SUBJECTS YOU TO ITS CONTENTS. 
  133.  
  134.  
  135. ΓòÉΓòÉΓòÉ 5. Limited Warranty ΓòÉΓòÉΓòÉ
  136.  
  137. Carbon Based Software guarantees your satisfaction with this product for a 
  138. period of 90 days from the date of original purchase.  If you are dissatisfied 
  139. with ZipStream within that time period, you must inform Carbon Based Software 
  140. in writing before the expiration of the warranty. 
  141.  
  142. Carbon Based Software warrants that all disks (if provided) are free from 
  143. defects in material and workmanship, assuming normal use, for a period of 90 
  144. days from the date of purchase. 
  145.  
  146. Carbon Based Software warrants that ZipStream will perform in substantial 
  147. compliance with the documentation supplied with the software product.  If a 
  148. significant defect in the product is found, Carbon Based Software will attempt 
  149. to rectify the problem.  If Carbon Based Software does not provide a remedy, 
  150. the Purchaser may return the product for a refund.  In no event will such a 
  151. refund exceed the purchase price of the product. 
  152.  
  153. DISCLAIMER 
  154.  
  155. EXCEPT AS PROVIDED ABOVE, Carbon Based Software DISCLAIMS ALL WARRANTIES, 
  156. EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO IMPLIED WARRANTIES 
  157. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE 
  158. PRODUCT.  SHOULD THE PROGRAM PROVE DEFECTIVE, THE PURCHASER ASSUMES THE RISK OF 
  159. PAYING THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION AND 
  160. ANY INCIDENTAL OR CONSEQUENTIAL DAMAGES. 
  161.  
  162. IN NO EVENT WILL Carbon Based Software BE LIABLE FOR ANY DAMAGES WHATSOEVER 
  163. (INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS 
  164. INTERRUPTION, LOSS OF BUSINESS INFORMATION AND THE LIKE) ARISING OUT OF THE USE 
  165. OR THE INABILITY TO USE THIS PRODUCT EVEN IF Carbon Based Software HAS BEEN 
  166. ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 
  167.  
  168. Some states do not allow the exclusion or limitation of incidental or 
  169. consequential damages, so the above limitation or exclusion may not apply to 
  170. you. 
  171.  
  172. USE OF THIS PRODUCT FOR ANY PERIOD OF TIME CONSTITUTES YOUR ACCEPTANCE OF THIS 
  173. AGREEMENT AND SUBJECTS YOU TO ITS CONTENTS. 
  174.  
  175.  
  176. ΓòÉΓòÉΓòÉ 6. Introduction ΓòÉΓòÉΓòÉ
  177.  
  178. What is ZipStream ? 
  179.  
  180. ZipStream is an exciting new concept in automatic file compression, that 
  181. harnesses the power and features of OS/2 2.1, 2.11, Warp Version 3 and higher. 
  182.  
  183. ZipStream is an OS/2 Installable File System (IFS) that mirrors access to 
  184. existing OS/2 File Systems simultaneously providing automatic transparent file 
  185. compression and decompression. 
  186.  
  187. The ZipStream Concept 
  188.  
  189. To further understand the ZipStream concept, consider the following scenario. 
  190.  
  191. You have an existing OS/2 system with the file letter.doc in the root directory 
  192. of the C: drive. 
  193.  
  194. ZipStream is installed and drive C: is mirrored as compressed drive X:.  This 
  195. is achieved using the ZSAttach utility as follows: 
  196.  
  197. zsattach x: c:\ 
  198.  
  199. Access to all files on drive C: is now possible simultaneously via drive X:. 
  200. i.e.  The commands 
  201.  
  202. type C:\letter.doc 
  203.  
  204. and 
  205.  
  206. type X:\letter.doc 
  207.  
  208. will achieve the same results. 
  209.  
  210. Now letter.doc  is compressed with the ZipStream file compression utility 
  211. ZSPack as follows: 
  212.  
  213. zspack c:\letter.doc 
  214.  
  215. Typically, a text file like letter.doc will be reduced in size by at least 50 
  216. percent.  Compression ratios of around 80 percent can generally be expected on 
  217. large text files. 
  218.  
  219. Access via C:\letter.doc will reveal its compressed contents, but access via 
  220. X:\letter.doc will allow access as if the file is uncompressed. That is, 
  221. ZipStream recognises that the file is compressed and transparently decompresses 
  222. it. 
  223.  
  224. Transparent Background Compression 
  225.  
  226. Any new files copied to a ZipStream compressed drive will be automatically and 
  227. transparently compressed in the background. 
  228.  
  229.  
  230. ΓòÉΓòÉΓòÉ 7. Installation Instructions ΓòÉΓòÉΓòÉ
  231.  
  232. Installing ZipStream is easy.  You use the Device Driver Install feature that 
  233. comes with OS/2. 
  234.  
  235. To get started, proceed as follows: 
  236.  
  237. 1. Insert the ZipStream diskette in your A: drive. 
  238.  
  239. 2. Now open your OS/2 System folder    or 
  240.  
  241. 3. Then open the System Setup folder    or 
  242.  
  243. 4. Start the Device Driver Install utility    or 
  244.  
  245. 5. Click on the Install button and wait for the ZipStream installation to 
  246. complete. 
  247.  
  248. 6. For a first time installation, you will be prompted to enter your two part 
  249. ZipStream registration number.  The two numbers you need are supplied with the 
  250. packaged product.  Enter the two numbers into the entry fields provided and 
  251. then click on the OK button.  Click on Cancel if you are not registering at 
  252. this time.  In this case you can register later using the ZipStream 
  253. Registration Utility. 
  254.  
  255. 7. After the installation is complete, click on the Exit button in the Device 
  256. Driver Install window. 
  257.  
  258. 8. The process of installing ZipStream requires you to now reboot your system 
  259. for the changes to take effect. 
  260.  
  261. 9. Shutdown your system in the standard way (i.e.  from the Desktop, DO NOT 
  262. Ctrl-Alt-Del). 
  263.  
  264. When your system restarts, the ZipStream File System will be loaded. 
  265.  
  266. You will then be able to compress files and access them again transparently. 
  267.  
  268.  
  269. ΓòÉΓòÉΓòÉ 8. Features ΓòÉΓòÉΓòÉ
  270.  
  271. ZipStream is an exciting new concept in automatic file compression which takes 
  272. full advantage of OS/2's power, features, functions and reliability. 
  273.  
  274. ZipStream's Features: 
  275.  
  276. Supports HPFS and FAT File Systems. 
  277.  
  278. Any OS/2 supported file system can be utilised. 
  279.  
  280. Support Diskettes. 
  281.  
  282. Diskettes don't have to be specially formatted, just attach and compression is 
  283. available. 
  284.  
  285. Supports LAN File Systems. 
  286.  
  287. Any LAN file system that is mapped as a drive letter can be used with 
  288. ZipStream.  Additionally, there are no Server overheads as all compression 
  289. operations are performed by the work station. 
  290.  
  291. Supports CD-ROM File Systems. 
  292.  
  293. If you have the facility to write your own CD-ROM's, you can compress the files 
  294. first and then achieve at least double to storage capacity of the CD-ROM 
  295. transparently. 
  296.  
  297. Supports Long File Names and Extended Attributes. 
  298.  
  299. No restrictions are imposed other that those imposed by OS/2's native File 
  300. Systems.  Fully supports Extended attributes and is compatible with OS/2's 
  301. Workplace Shell. 
  302.  
  303. Automatic Compression of New Files. 
  304.  
  305. Newly created files or any files copied to the compressed drive letter are 
  306. automatically and transparently compressed. 
  307.  
  308. File Based Compression not Disk Based. 
  309.  
  310. Being file based, you have complete control of what files are compressed and 
  311. what are not, that is, uncompressed files can reside on the compressed drive. 
  312.  
  313. Ultra High Compression Ratios. 
  314.  
  315. The use of state of the art 32 bit implementation and background compression 
  316. techniques, achieves compression ratios equal to that of popular archiving 
  317. programs. 
  318.  
  319. Native OS/2 32 bit Application. 
  320.  
  321. This isn't a port of a DOS compression application, it has been built 
  322. specifically for OS/2 and designed to fully utilise the features of OS/2. 
  323.  
  324. No Reformatting Required and No Container Files. 
  325.  
  326. Just attach to a drive letter or path and compression is available.  Using 
  327. existing File Systems means reliability. 
  328.  
  329.  
  330. ΓòÉΓòÉΓòÉ 8.1. Technical Features ΓòÉΓòÉΓòÉ
  331.  
  332. ZipStream's advanced design comes loaded with technical features, as follows: 
  333.  
  334. High Performance Multi Threaded Design 
  335.  
  336. ZipStream exploits OS/2's pre-emptive multi threaded processing capabilities, 
  337. giving you outstanding performance in automatic file compression. 
  338.  
  339. ZipStream utilises OS/2's multi threaded features for read-ahead, write-behind 
  340. and priority based compression processing. 
  341.  
  342. Advanced 32 bit Implementation 
  343.  
  344. ZipStream is a state of the art Object Orientated 32 bit implementation that 
  345. allows for optimal complex processing, while coexisting harmoniously with OS/2 
  346. as a native 32 bit application. 
  347.  
  348. Compatible with, and Exploitation of OS/2s' HPFS and Advanced FAT File Systems 
  349.  
  350. ZipStream uses existing OS/2 File Systems.  It has been specifically optimised 
  351. to operate these File Systems in the most efficient manner i.e. ZipStream is 
  352. aware of, and takes advantage of the HPFS caching strategy. 
  353.  
  354. Additionally, compressed files can be easily transported to other systems in 
  355. compressed format by simply referencing them via the host drive letter. 
  356.  
  357. File Name and Size Sensitive Compression Algorithm Selection 
  358.  
  359. ZipStream, being a file system, has intimate knowledge of a files' parameters 
  360. and, as such, can apply optimum algorithms on a per file basis. i.e.  ZipStream 
  361. applies different caching strategies depending on the file size/type and may 
  362. also apply different compression algorithms depending on the file name and 
  363. contents. 
  364.  
  365. Additionally, ZipStream treats each file on an individual file basis. 
  366. Therefore, every file may be processed with different compression options and 
  367. parameters as specified by the user. 
  368.  
  369. This allows greater flexibility in the management of your system. e.g. 
  370. Infrequently accessed files may have maximum compression applied at a slightly 
  371. greater cost in access time, while frequently accessed files may have less 
  372. compression applied, thus increasing access performance. 
  373.  
  374. Large Sparse Virtual Memory Utilisation 
  375.  
  376. ZipStream implements a Virtual File Cache that utilises OS/2's powerful 32 bit 
  377. Flat Memory System to keep entire files uncompressed in memory. 
  378.  
  379. This Virtual Memory File capability allows performance sensitive applications, 
  380. such as games etc, near instant access to uncompressed data. 
  381.  
  382. In-situ Compression (No Container Files) 
  383.  
  384. ZipStream uses in-situ compression.  That is, the file being compressed is 
  385. replaced in the standard file system with a compressed version.  It can then be 
  386. referenced via a ZipStream drive as uncompressed data again, or it can be 
  387. inter-actively uncompressed again with a ZipStream utility. 
  388.  
  389. This means that compressed files may be easily transported in compressed 
  390. format, and additionally, you don't have the usual worries of container files 
  391. suddenly becoming corrupt. 
  392.  
  393. Configuration and Compression Options that Cater for the Most Demanding 
  394. Environments 
  395.  
  396. ZipStream provides a variety of compression options and configuration settings 
  397. so it can be tailored to your particular needs and expectations. 
  398.  
  399. Compression options are configurable on a per file basis, allowing you the 
  400. greatest possible flexibility. 
  401.  
  402. Network Capable with ZERO File Server Overhead 
  403.  
  404. ZipStream is fully capable of providing compression operations on network 
  405. paths.  This is achieved on the work-station side of the network. 
  406.  
  407. This means that files can be stored compressed on a File Server and then 
  408. accessed as uncompressed at the work-station. 
  409.  
  410. The real bonus is that there is ZERO Server overhead (the Server does not have 
  411. to do the compression or decompression), and since the Server will be 
  412. processing less data (as it is compressed), the server performance may actually 
  413. increase. 
  414.  
  415. Note:  A licensed copy of ZipStream must be on all work-stations that wish to 
  416. access compressed data. 
  417.  
  418. Zero Write and Create Overhead. 
  419.  
  420. ZipStream imparts ZERO overhead on file create and write operations, as the 
  421. compression operation is relegated to a write behind thread running at low 
  422. background priority. 
  423.  
  424. Besides the immediate benefit of completely removing any compression overhead, 
  425. ZipStream can now spend longer on the actual compression operation. This 
  426. ability to simultaneously compress files and maintain performance levels 
  427. results in a much higher compression ratio than can be achieved by other 
  428. systems, that because of their synchronous operation must sacrifice compression 
  429. in order to maintain performance. 
  430.  
  431.  
  432. ΓòÉΓòÉΓòÉ 8.2. Safety Features ΓòÉΓòÉΓòÉ
  433.  
  434. ZipStream's  primary design and implementation goal is to deliver an 'on the 
  435. fly' compression system for OS/2 that is safe and reliable. 
  436.  
  437. To accomplish this, ZipStream has the following safety features as part of its 
  438. design: 
  439.  
  440. No Container Files 
  441.  
  442. ZipStream uses in-situ compression.  That is, the file being compressed is 
  443. replaced in the standard file system with a compressed version.  It can then be 
  444. referenced via a ZipStream drive as uncompressed data again, or it can be 
  445. inter-actively uncompressed again with a ZipStream utility. 
  446.  
  447. The safety benefit of this is three fold: 
  448.  
  449.  1. As each file is processed individually, any failure of the ZipStream 
  450.     compression system will be limited to the one file, unlike a container 
  451.     system where any failure of the container compression system could result 
  452.     in a catastrophic loss of data. 
  453.  
  454.  2. As ZipStream uses standard OS/2 File Systems, it benefits from the years of 
  455.     File System technology and reliability that have been designed into OS/2. 
  456.  
  457.  3. In the event of some type of system failure where the system can no longer 
  458.     boot, files compressed with ZipStream can be interactively decompressed 
  459.     with a small standard ZipStream utility (ZSUnpack).  This means, when you 
  460.     are in a situation where you are unable to get your system running well 
  461.     enough to use the transparent ZipStream compression system, you can 
  462.     decompress your files on your system, or take them to another system where 
  463.     they can be decompressed. 
  464.  
  465. No Direct Disk Access 
  466.  
  467. ZipStream never makes direct physical disk access to any of the OS/2 File 
  468. Systems.  All accesses to files are done via the standard OS/2 File System 
  469. application programming interfaces.  The benefit here is that as ZipStream only 
  470. uses standard OS/2 interfaces, any failure on ZipStream's behalf will benefit 
  471. from the in-built protection afforded by OS/2's design. 
  472.  
  473. In simpler terms, this means that it is practically impossible for ZipStream to 
  474. damage an OS/2 File System. 
  475.  
  476. Object Orientated Design 
  477.  
  478. ZipStream uses state of the art Object Orientated techniques, and other 
  479. sophisticated design practices to ensure safe and reliable operation. 
  480.  
  481.  
  482. ΓòÉΓòÉΓòÉ 9. System Requirements ΓòÉΓòÉΓòÉ
  483.  
  484. If your system is capable of, and is running OS/2 2.1 or higher, you can take 
  485. advantage of ZipStream. 
  486.  
  487. If you are still unsure, ZipStream has the following requirements: 
  488.  
  489. Requirements 
  490.  
  491.  1. A PC that is supported, is capable of, and is running OS/2 2.1, OS/2 2.11, 
  492.     OS/2 Warp Version 3 or higher. 
  493.  
  494.  2. At least 4 MB of RAM, 8 MB recommended, 16 MB optimal. 
  495.  
  496.  3. At least 10 MB of swap area is recommended (see below for more information 
  497.     on Swap Requirements). 
  498.  
  499.  4. A 386 (or better) CPU, 486 highly recommended, Pentium outstanding. 
  500.  
  501. Recommendations 
  502.  
  503.  1. ZipStream excels on 486's with 16 MB of RAM, and for that matter, so does 
  504.     OS/2. 
  505.  
  506.  2. ZipStream has been designed to take advantage of 486 (and better) CPU's, 
  507.     and ZipStream's Virtual File Cache performs best when there is plenty of 
  508.     RAM. 
  509.  
  510. The benefit of these recommendations is that ZipStream gives access performance 
  511. to compressed files as if they were not compressed.  For example, after a small 
  512. initial access delay to game files, games will play with no noticeable 
  513. degradation in performance. 
  514.  
  515. Swap File Requirements 
  516.  
  517. ZipStream is designed to give fast access to files, by trying to keep as many 
  518. of the current set of files decompressed in memory as possible, in its Virtual 
  519. File Cache. 
  520.  
  521. Note:  ZipStream's behaviour is highly configurable in this area. 
  522.  
  523. On systems with low amounts of RAM, ZipStream will utilise Swap Space to keep 
  524. uncompressed information available for ready access.  More memory means less 
  525. Swap requirements and faster access.  More files being concurrently accessed, 
  526. means more Memory requirements. 
  527.  
  528. Of course, the Swap Space requirements are easily reclaimed MANY times over by 
  529. keeping your files compressed with ZipStream. 
  530.  
  531.  
  532. ΓòÉΓòÉΓòÉ 10. Using ZipStream ΓòÉΓòÉΓòÉ
  533.  
  534. Once you have installed ZipStream, you can begin to take advantage of it at 
  535. your own pace. 
  536.  
  537. One of the best ways to start is to compress files that you use infrequently, 
  538. as this will more than likely free up a lot of space quickly.  Most of us tend 
  539. to hoard old applications (and big games) etc just in case, and that's why you 
  540. are now using an automatic compression program to increase the capacity of your 
  541. disk system. 
  542.  
  543. To begin with, use the ZSAttach utility to provide mirrored access to your C: 
  544. drive as say the H: drive.  You enter at the command prompt: 
  545.  
  546. zsattach h: c:\ 
  547.  
  548. Now all the files that you can access via the C: drive are accessible via the 
  549. H: drive. 
  550.  
  551. You could have specified a more specific path to ZSAttach, such as 
  552.  
  553. zsattach h: c:\games 
  554.  
  555. but, to begin with, we recommend complete drive mirroring to keep things 
  556. straight forward and simple. 
  557.  
  558. As a quick experiment, execute the following command (now that you have C: 
  559. mirrored as H:). 
  560.  
  561. zspack c:\readme 
  562.  
  563. Now the OS/2 readme file is compressed.  You can view it again by executing the 
  564. command 
  565.  
  566. type h:\readme 
  567.  
  568. At your own pace start compressing more files and in the future reference them 
  569. again via drive h: 
  570.  
  571. Any new applications etc you load or any new files you create on drive h: will 
  572. be automatically compressed. 
  573.  
  574.  
  575. ΓòÉΓòÉΓòÉ 10.1. Compressed versus Actual File ΓòÉΓòÉΓòÉ
  576.  
  577. The most important thing to keep in mind when using ZipStream is to remember 
  578. that the files on the ZipStream path are actually files on a standard OS/2 File 
  579. System drive.  There is not actually two copies of the file, only the one.  You 
  580. should therefore not think that as you can now access the files from the 
  581. ZipStream path, they can be deleted on the standard OS/2 path. 
  582.  
  583.  
  584. ΓòÉΓòÉΓòÉ 10.2. Access by Compressed or Actual Path ΓòÉΓòÉΓòÉ
  585.  
  586. Sometimes it can be confusing if you continue to access files from both the 
  587. compressed (mirrored)  and standard paths.  If you attempt to access compressed 
  588. files on the standard path, you will get errors of some kind or another.  As 
  589. you can access both compressed and uncompressed files on the compressed path, 
  590. we recommend that you do the majority of your accessing via the compressed path 
  591. only.  If you adopt this strategy, you will find a lot less confusion taking 
  592. place. 
  593.  
  594.  
  595. ΓòÉΓòÉΓòÉ 10.3. Background Compression ΓòÉΓòÉΓòÉ
  596.  
  597. If you are copying a lot of files to a compressed path, the background 
  598. compression system will tend to lag behind.  That is, ZipStream will have many 
  599. outstanding compression tasks not yet completed.  There is no problem with 
  600. this, as this is the way ZipStream is designed to operate.  You may look at 
  601. files and see that they are not compressed yet.  This is quite normal, as the 
  602. compression operation needs time to catch back up.  We highly recommend that 
  603. you use the ZipStream Monitor  program so that you can be aware of the 
  604. background operations taking place. 
  605.  
  606. Note:  You can use the files immediately even thought they are still queued for 
  607. compression. 
  608.  
  609. When the background compression operation gets well behind, it will attempt to 
  610. rectify this situation by boosting its own priority slightly.  This means that 
  611. you may notice a small drop in system performance as ZipStream tries to catch 
  612. up. 
  613.  
  614. If you need the outstanding compression operations to complete in the shortest 
  615. possible time, you can use the ZipStream Sync  utility to provide a significant 
  616. boost to the background compression priority. 
  617.  
  618.  
  619. ΓòÉΓòÉΓòÉ 10.4. Games ΓòÉΓòÉΓòÉ
  620.  
  621. In most cases ZipStream is completely compatible with all games that can be run 
  622. by OS/2. 
  623.  
  624. Normally there can be a small delay as the games are started, but then as the 
  625. game files are virtualised, performance should return to normal and may 
  626. actually improve. 
  627.  
  628. If a game is very slow to load or is suffering performance problems when 
  629. compressed, then try recompressing the files with the Warp 4 or Warp 7 option 
  630. e.g. 
  631.  
  632. zsunpack *.* 
  633.  
  634. zspack -w7 *.* 
  635.  
  636. This option will in most cases remove any performance problems, but will tend 
  637. to increase the Swapper file space requirements. 
  638.  
  639.  
  640. ΓòÉΓòÉΓòÉ 10.5. When Not to use ZipStream ΓòÉΓòÉΓòÉ
  641.  
  642. We have tried to make ZipStream as general purpose and easy to use as possible, 
  643. and we are continually providing improvements.  For the most part anything you 
  644. can do now can be done safely with ZipStream providing a compression benefit. 
  645. There are however, some limitations to its operation. 
  646.  
  647. Device Drivers 
  648.  
  649. Do not compress or store OS/2 device drives on a ZipStream path.  The reason 
  650. for this is that OS/2 loads device drivers prior to the loading of File 
  651. System's during the OS/2 boot sequence.  This means, that when OS/2 tries to 
  652. load the device driver, the path and de-compression system will not yet be 
  653. available to OS/2, and subsequently the load will fail. 
  654.  
  655. It is most important to realise that even if the file is not compressed, it 
  656. still will not load, as the path provided by ZipStream will not be available 
  657. when OS/2 loads device drivers. 
  658.  
  659. OLTP Systems 
  660.  
  661. Do not use ZipStream to compress large database files (i.e. over say 10MB) for 
  662. Online Transaction Processing Systems (OLTP).  The reasons for this are as 
  663. follows: 
  664.  
  665.  1. ZipStream utilises background compression and will get well behind the OLTP 
  666.     system, making it rather ineffective. 
  667.  
  668.  2. ZipStream tries to keep whole files in its Virtual File Cache for 
  669.     performance reasons, but if a file is being updated continually, the cache 
  670.     will be continually flushed, which negates its performance benefits. 
  671.  
  672.  3. Large database systems like these are always better off implementing their 
  673.     own specific compression system, as a database, by its very nature, 
  674.     understands the data content, and can apply a more effective compression 
  675.     algorithm than a general purpose compression system. 
  676.  
  677.  
  678. ΓòÉΓòÉΓòÉ 11. Shutting Down ΓòÉΓòÉΓòÉ
  679.  
  680. NEVER JUST TURN YOUR SYSTEM OFF 
  681.  
  682. Always shut your system down from the Desktop. 
  683.  
  684. By shutting down from the Desktop you will ensure that: 
  685.  
  686.  1. Any new or altered files that were being compressed in the background will 
  687.     continue to be compressed and saved before the system is stopped. 
  688.  
  689.  2. ZipStream is shutdown correctly which in turn will ensure that any changed 
  690.     configuration information is preserved. 
  691.  
  692.  3. ZipStream is idle at shutdown, ensuring the most reliable operation of your 
  693.     system. 
  694.  
  695.  
  696. ΓòÉΓòÉΓòÉ 11.1. The Shutdown Process ΓòÉΓòÉΓòÉ
  697.  
  698. During the shutdown process, ZipStream will display an Information Window 
  699. informing you that it is shutting down. 
  700.  
  701. If there are any remaining compression jobs outstanding, the window will show a 
  702. count of the jobs and will continually update this counter until all jobs have 
  703. been completed. 
  704.  
  705. During this process, ZipStream's compression system will receive a boost in 
  706. priority to cause these operations to be completed in the shortest possible 
  707. time. 
  708.  
  709.  
  710. ΓòÉΓòÉΓòÉ 11.2. Using Ctrl-Alt-Del ΓòÉΓòÉΓòÉ
  711.  
  712. We strongly recommend that this method of shutdown is used only when OS/2 fails 
  713. to shutdown in the normal manner, or for some reason the Desktop is no longer 
  714. accessible. 
  715.  
  716. ZipStream will sense this event and close all open files and abort any 
  717. operations that may have been in progress, before allowing the system to stop. 
  718.  
  719. This ensures the safe and reliable operation of your system. 
  720.  
  721. Note:  Using Ctrl-Alt-Del may cause files that were queued to be compressed, to 
  722. remain uncompressed.  However no damage to the files should occur. 
  723.  
  724.  
  725. ΓòÉΓòÉΓòÉ 12. Utilities ΓòÉΓòÉΓòÉ
  726.  
  727. ZipStream is supplied with various utilities to supplement the transparent 
  728. compression system. 
  729.  
  730. Access to Utilities 
  731.  
  732. To access the ZipStream utilities, open the ZipStream folder 
  733.  
  734. Many of the utilities can operate via Drag and Drop as well as operate on a 
  735. command line basis. 
  736.  
  737. Utilities are supplied to: 
  738.  
  739. Note:  Command line program names are shown in parenthesis where applicable. 
  740.  
  741.  1. Compress Files (ZSPack) 
  742.  
  743.  2. Decompress Files (ZSUnpack) 
  744.  
  745.  3. Attach to OS/2 Directories (ZSAttach) 
  746.  
  747.  4. Monitor ZipStream status 
  748.  
  749.  5. Wait for compression to complete (ZSSync) 
  750.  
  751.  6. Query Compression status of files (ZSQuery) 
  752.  
  753.  7. Register ZipStream 
  754.  
  755.  
  756. ΓòÉΓòÉΓòÉ 12.1. ZipStream Attach ΓòÉΓòÉΓòÉ
  757.  
  758. The ZipStream Attach utility is used to 
  759.  
  760.  1. Make the ZipStream connection with other file systems. 
  761.  
  762.  2. Display a current ZipStream connection. 
  763.  
  764.  3. Cancel a current ZipStream connection. 
  765.  
  766.  4. Display all current ZipStream connections. 
  767.  
  768.  5. Reattach persistent connections. 
  769.  
  770. Note:  After connections have been made, they remain persistent across system 
  771. boots. 
  772.  
  773. We recommend that you setup some standard connections as soon as you start 
  774. using ZipStream and stick with these connections from then on. 
  775.  
  776.  
  777. ΓòÉΓòÉΓòÉ 12.1.1. Attaching to an OS/2 Path ΓòÉΓòÉΓòÉ
  778.  
  779. To attach a ZipStream drive letter to an OS/2 path, run the ZSAttach command 
  780. from an OS/2 command prompt with the first argument specifying the Drive letter 
  781. you wish to use, and the second argument specifying the OS/2 path that you wish 
  782. to attach to. 
  783.  
  784. e.g. ZSAttach Drive_Letter  OS/2_Path 
  785.  
  786. Drive_Letter may be any free or unassigned OS/2 drive letter. 
  787.  
  788. OS/2_Path may be any valid OS/2 directory. 
  789.  
  790. Example 
  791.  
  792. You wish to attach the root directory of the C: drive as the ZipStream H: 
  793. drive.  You enter at the command prompt: 
  794.  
  795.  zsattach h: c:\ 
  796.  
  797.  
  798. ΓòÉΓòÉΓòÉ 12.1.2. Display Attachment ΓòÉΓòÉΓòÉ
  799.  
  800. You can have ZipStream report the current attachment path of a ZipStream drive 
  801. letter at any time by entering the ZSAttach command, followed by the ZipStream 
  802. drive letter you are querying. 
  803.  
  804. e.g.  ZSAttach Drive_Letter 
  805.  
  806. Drive_Letter must be a ZipStream drive letter assigned to an OS/2 directory. 
  807.  
  808. Example 
  809.  
  810. You have a ZipStream drive H: and you wish to determine the directory to which 
  811. it is attached.  You enter at the command prompt: 
  812.  
  813.  zsattach h: 
  814.  
  815. ZSAttach reports: 
  816.  
  817.  H: - ZipStream drive mapped to c:\ 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ 12.1.3. Removing an Attachment ΓòÉΓòÉΓòÉ
  821.  
  822. If you wish to discontinue an attachment of a ZipStream drive letter to an OS/2 
  823. path, you enter the ZSAttach command with the ZipStream drive letter, followed 
  824. by a '/D'. 
  825.  
  826. e.g.  ZSAttach Drive_Letter  /D 
  827.  
  828. Drive_Letter must be a ZipStream drive letter assigned to an OS/2 directory. 
  829.  
  830. Example 
  831.  
  832. You have a ZipStream drive H: connected to the root directory of drive C: and 
  833. you wish to cancel the connection.  You enter at the command prompt: 
  834.  
  835. zsattach h: /d 
  836.  
  837.  
  838. ΓòÉΓòÉΓòÉ 12.1.4. Displaying all Current Attachments ΓòÉΓòÉΓòÉ
  839.  
  840. To display all current ZipStream attachments, double click on the ZipStream 
  841. Attach program object , or run ZSAttach from the OS/2 command prompt with no 
  842. arguments. 
  843.  
  844. e.g.  ZSAttach 
  845.  
  846. Example 
  847.  
  848. You have a ZipStream drive H: connected to the root directory of drive C:\ and 
  849. ZipStream drive G: connected to D:\. 
  850.  
  851. You enter at the command prompt: 
  852.  
  853. zsattach 
  854.  
  855. ZSAttach reports: 
  856.  
  857. H: - ZipStream drive mapped to c:\ 
  858.  
  859.  I: - ZipStream drive mapped to d:\ 
  860.  
  861.  
  862. ΓòÉΓòÉΓòÉ 12.1.5. Reattach Persistent Connections ΓòÉΓòÉΓòÉ
  863.  
  864. If you wish to reattach paths based on the persistent connection database, you 
  865. enter the ZSAttach command with the ZipStream drive letter followed by a '/R' 
  866. switch. 
  867.  
  868. e.g.  ZSAttach  /R 
  869.  
  870. Example 
  871.  
  872. You have a removable media drive A: that was not loaded during system startup 
  873. and is normally connected as ZipStream drive X:.  After you have loaded a 
  874. diskette into Drive A: you can issue the following command to cause the 
  875. ZipStream connection to be re-established.  You enter at the command prompt: 
  876.  
  877.   zsattach /r 
  878.  
  879.  
  880. ΓòÉΓòÉΓòÉ 12.2. ZipStream Compress ΓòÉΓòÉΓòÉ
  881.  
  882. The ZipStream Compress utility is used to interactively compress files, so that 
  883. they can be transparently accessed as decompressed files via ZipStream 
  884.  
  885. Note:  Copying files to a ZipStream path will cause transparent background 
  886. compression.  ZipStream Compress is not required in this case. 
  887.  
  888. ZipStream Compress can be used in a Drag and Drop manner, or from the command 
  889. line. 
  890.  
  891.  
  892. ΓòÉΓòÉΓòÉ 12.2.1. Drag and Drop Operation ΓòÉΓòÉΓòÉ
  893.  
  894. For Drag and Drop, just drag a folder or file object from one of the Drives 
  895. Disk objects to the ZipStream Compress object  and the contents of that folder 
  896. or object will be compressed. 
  897.  
  898. Note:  By default, this operation will not compress sub-directories.  If you 
  899. wish to compress sub-directories via this method, you will need to add an '/S' 
  900. switch to the objects parameters settings.  Refer to OS/2 help on how to adjust 
  901. object settings. 
  902.  
  903.  
  904. ΓòÉΓòÉΓòÉ 12.2.2. Command Line Operation ΓòÉΓòÉΓòÉ
  905.  
  906. To operate from the command line, enter ZSPack at an OS/2 command prompt, 
  907. followed by the file or directory names that you wish to process. 
  908.  
  909. e.g.  ZSPack filenames options 
  910.  
  911. filenames may consist of OS/2 wildcard characters. 
  912.  
  913. options may be: 
  914.  
  915. /A always compress files even if they are too small, or no gain is achieved 
  916. after compression. 
  917.  
  918. /F force compression, and ignore safety rules.  ZSPack will normally not 
  919. compress files that are thought to be OS/2 system files so as to ensure that 
  920. the system will still boot and operate after compression.  This option will 
  921. override this safety feature and should be used with extreme care. 
  922.  
  923. /P pause after compression operations are completed and wait for a key stroke. 
  924.  
  925. /S descend the directory tree and compress files with matching specifications 
  926. in filenames. 
  927.  
  928. /w Compression Warp Option, see next topic for more detail. 
  929.  
  930. /Z always compress files even if they appear to be in a foreign compressed 
  931. format. 
  932.  
  933.  
  934. ΓòÉΓòÉΓòÉ 12.2.2.1. Compression Options ΓòÉΓòÉΓòÉ
  935.  
  936. ZSPack, by default, uses a standard set of compression parameters when 
  937. compressing files.  These parameters can optionally be configured by using the 
  938. Warp '/w number' option. 
  939.  
  940. Currently Warp values of '2', '3', '4', '5', '6' and '7' may be applied. 
  941.  
  942. Warp 2 
  943.  
  944. Warp 2 has the following effects: 
  945.  
  946.  1. Use sparse virtualisation. 
  947.  
  948.  2. Does not use Grip cache. 
  949.  
  950.  3. Asynchronous recompression if modified. 
  951.  
  952.  4. Use default compression effort. 
  953.  
  954.  5. Use best compression method. 
  955.  
  956.  6. Use auto algorithm selection. 
  957.  
  958. Warp 3 
  959.  
  960. Warp 3 has the following effects: 
  961.  
  962.  1. Use sparse virtualisation. 
  963.  
  964.  2. Files *.exe and *.dll placed in Grip cache for default Grip period. 
  965.  
  966.  3. Asynchronous recompression if modified. 
  967.  
  968.  4. Use default compression effort. 
  969.  
  970.  5. Use best compression method. 
  971.  
  972.  6. Use auto algorithm selection. 
  973.  
  974. Warp 4 
  975.  
  976. Warp 4 has the following effects: 
  977.  
  978.  1. Use sparse virtualisation. 
  979.  
  980.  2. Place in Grip cache for default period. 
  981.  
  982.  3. Asynchronous recompression if modified. 
  983.  
  984.  4. Use default compression effort. 
  985.  
  986.  5. Use best compression method. 
  987.  
  988.  6. Use auto algorithm selection. 
  989.  
  990. Warp 5 
  991.  
  992. Warp 5 has the following effects: 
  993.  
  994.  1. File fully virtualised on open. 
  995.  
  996.  2. Does not use Grip cache. 
  997.  
  998.  3. Asynchronous recompression if modified. 
  999.  
  1000.  4. Use default compression effort. 
  1001.  
  1002.  5. Use best compression method. 
  1003.  
  1004.  6. Use auto algorithm selection. 
  1005.  
  1006. Warp 6 
  1007.  
  1008. Warp 6 has the following effects: 
  1009.  
  1010.  1. File fully virtualised on open. 
  1011.  
  1012.  2. Files *.exe and *.dll placed in Grip cache for default Grip period. 
  1013.  
  1014.  3. Asynchronous recompression if modified. 
  1015.  
  1016.  4. Use default compression effort. 
  1017.  
  1018.  5. Use best compression method. 
  1019.  
  1020.  6. Use auto algorithm selection. 
  1021.  
  1022. Warp 7 
  1023.  
  1024. Warp 7 has the following effects: 
  1025.  
  1026.  1. File fully virtualised on open. 
  1027.  
  1028.  2. Place in Grip cache for default period. 
  1029.  
  1030.  3. Asynchronous recompression if modified. 
  1031.  
  1032.  4. Use default compression effort. 
  1033.  
  1034.  5. Use best compression method. 
  1035.  
  1036.  6. Use auto algorithm selection. 
  1037.  
  1038. The higher the warp value selected, will generally result in higher performance 
  1039. when accessing compressed files.  This may also cause larger Swapper file space 
  1040. requirements. 
  1041.  
  1042. Without a warp option selection, the default selection of Warp 3 will be 
  1043. applied.  The default method is recommended in most cases. 
  1044.  
  1045. Warp 2 is recommended for infrequently accessed files or for machines with low 
  1046. amounts of RAM. 
  1047.  
  1048. Warp 4, 6, or 7 is recommended for games etc where access to compressed data 
  1049. must occur at the fastest possible rate. 
  1050.  
  1051.  
  1052. ΓòÉΓòÉΓòÉ 12.2.3. Grip Cache ΓòÉΓòÉΓòÉ
  1053.  
  1054. The Grip cache is one form of internal cache that ZipStream utilises to boost 
  1055. performance. 
  1056.  
  1057. Basically, a compressed file that has the Grip cache option, will be retained 
  1058. in the Virtual File Cache memory as uncompressed data for a period of time 
  1059. after its last access. 
  1060.  
  1061. The benefit of this is that any subsequent accesses within the Grip time 
  1062. period, will avoid the decompression delay. 
  1063.  
  1064. Currently the default Grip period is 1 (one) minute. 
  1065.  
  1066. It is not recommended to use the Grip cache in all situations as this may 
  1067. result in very large Swapper file space requirements. 
  1068.  
  1069. Note: 
  1070.  
  1071.  1. This cache operates independently to the other ZipStream caches. 
  1072.  
  1073.  2. The maximum cache size is currently fixed (at a very large value). 
  1074.  
  1075.  3. Files are never cached if they have been modified. 
  1076.  
  1077.  4. Files that have been modified retain their Grip cache option. 
  1078.  
  1079.  
  1080. ΓòÉΓòÉΓòÉ 12.2.4. Actual versus Effective Compression ΓòÉΓòÉΓòÉ
  1081.  
  1082. ZSPack reports both Actual compression and Effective (parenthetical) 
  1083. compression ratios. 
  1084.  
  1085. Actual compression ratio is the ratio of the original file size to the final 
  1086. compressed file size. 
  1087.  
  1088. Effective compression is the ratio of the amount of disk space used to store 
  1089. the uncompressed version of the file, compared to the disk space used to store 
  1090. the compressed version of the file. 
  1091.  
  1092. The difference between Effective and Actual compression ratios arises as the 
  1093. disk space is allocated in blocks of bytes, not just bytes as the file size is 
  1094. measured. 
  1095.  
  1096. The number of bytes in a block is dependant on the underlying File System. 
  1097.  
  1098. The HPFS File System always allocates blocks of 512 bytes, while the FAT (DOS) 
  1099. File System allocates blocks as follows: 
  1100.  
  1101. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1102. ΓöéPartition Size                ΓöéBlock Size                    Γöé
  1103. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1104. ΓöéLess than 16 Mbyte            Γöé4 Kbyte                       Γöé
  1105. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1106. ΓöéLess than 128 Mbyte           Γöé2 Kbyte                       Γöé
  1107. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1108. ΓöéLess than 256 Mbyte           Γöé4 Kbyte                       Γöé
  1109. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1110. ΓöéLess than 512 Mbyte           Γöé8 Kbyte                       Γöé
  1111. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1112. ΓöéLess than 1024 Mbyte          Γöé16 Kbyte                      Γöé
  1113. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1114. ΓöéLess than 2048 Mbyte          Γöé32 Kbyte                      Γöé
  1115. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1116. ΓöéLess than 4096 Mbyte          Γöé64 Kbyte                      Γöé
  1117. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1118.  
  1119. As ZSPack works on a byte basis and the Disk System works on a block basis, a 
  1120. difference between Actual and Effective compression can occur.  However, this 
  1121. difference will generally only be noticed on smaller files.  Obviously then, 
  1122. Effective compression is what counts, as this represents the true saving in 
  1123. disk space. 
  1124.  
  1125. To further illustrate this situation, consider the following scenario: 
  1126.  
  1127. You have a HPFS partition with a file 'letter.doc' occupying 700 bytes.  This 
  1128. file is then compressed to 350 bytes.  A 50 percent Actual reduction. 
  1129.  
  1130. The HPFS File System has a block size of 512 bytes.  Therefore, the file would 
  1131. have used 2 blocks (1024 bytes) before compression. 
  1132.  
  1133. After compression, the file would occupy 1 block (512 bytes).  Once again a 50 
  1134. percent Effective reduction.  In this case the Actual and Effective compression 
  1135. ratios are the same. 
  1136.  
  1137. Now consider another file 'letter1.doc' which is 700 bytes in size.  This file 
  1138. is then compressed to 500 bytes, a 28 percent Actual reduction. 
  1139.  
  1140. As in the previous case, the number of disk blocks used has been reduced from 2 
  1141. to 1, a 50 percent reduction. 
  1142.  
  1143. In this case, the Effective compression is greater than the Actual compression. 
  1144.  
  1145.  
  1146. ΓòÉΓòÉΓòÉ 12.2.5. When ZSPack will not compress a file ΓòÉΓòÉΓòÉ
  1147.  
  1148. There are situations when ZSPack will not compress files.  In these cases it 
  1149. will report 
  1150.  
  1151. filename  Skipped: Reason 
  1152.  
  1153. The possible reasons are as follows (see following topics) 
  1154.  
  1155.  
  1156. ΓòÉΓòÉΓòÉ 12.2.5.1. Skipped - No net gain achieved ΓòÉΓòÉΓòÉ
  1157.  
  1158. This means that after ZSPack has attempted to compress a file, it checks if an 
  1159. Effective reduction in the disk space utilisation has been achieved. 
  1160.  
  1161. If none is achieved, then the file is skipped.  In this case compression is of 
  1162. no benefit. 
  1163.  
  1164. This situation can occur when the file is small or very low Actual compression 
  1165. has been achieved. 
  1166.  
  1167. Example 
  1168.  
  1169. A file 'letter.doc' occupies 900 bytes, and this is 2 disk blocks in a HPFS 
  1170. partition. 
  1171.  
  1172. After compression it is reduced in size to 600 bytes (a 33 percent Actual 
  1173. reduction). 
  1174.  
  1175. However, 2 blocks are still required to store the file, so there has been no 
  1176. effective saving. 
  1177.  
  1178.  
  1179. ΓòÉΓòÉΓòÉ 12.2.5.2. Skipped - Too small, no effective gain possible ΓòÉΓòÉΓòÉ
  1180.  
  1181. This situation occurs when the file is smaller than the File System Block size. 
  1182.  
  1183. This situation is much more likely to occur on FAT File Systems rather than on 
  1184. HPFS File Systems, as the block size on a FAT file system is larger than that 
  1185. of HPFS, and it increases in size as the partition size increases. 
  1186.  
  1187. Example 1 
  1188.  
  1189. A file 'letter.doc' occupies 400 bytes, and this is 1 disk block in a HPFS 
  1190. partition.  Even with compression, the amount of disk blocks used cannot be 
  1191. reduced. 
  1192.  
  1193. Example 2 
  1194.  
  1195. A file 'letter1.doc' occupies 2000 bytes, and this is 1 disk block in a FAT 
  1196. partition (that is less than 120 MB in size).  Even with compression, the 
  1197. amount of disk blocks used cannot be reduced. 
  1198.  
  1199. In this case, a saving could be achieved if the partition used the HPFS File 
  1200. System. 
  1201.  
  1202. Override 
  1203.  
  1204. You can force compression of these files using the '/A' switch e.g. 
  1205.  
  1206.   zspack /a filenames 
  1207.  
  1208.  
  1209. ΓòÉΓòÉΓòÉ 12.2.5.3. Skipped - Already compressed by ZipStream ΓòÉΓòÉΓòÉ
  1210.  
  1211. This means that the file has already been compressed by ZipStream.  It is not 
  1212. possible to further compress a file in this way. 
  1213.  
  1214.  
  1215. ΓòÉΓòÉΓòÉ 12.2.5.4. Skipped -  Already in another Foreign Compressed Format ΓòÉΓòÉΓòÉ
  1216.  
  1217. Before ZSPack attempts to compress a file, it checks if the file is already in 
  1218. a compressed format (i.e.  Zip, Gif etc).  Generally, very little or no 
  1219. compression can be achieved on a file that has already been compressed. 
  1220.  
  1221. You can force compression of these files using the '/Z' switch e.g. 
  1222.  
  1223.   zspack /z filenames 
  1224.  
  1225.  
  1226. ΓòÉΓòÉΓòÉ 12.2.5.5. Skipped - OS/2 System File ΓòÉΓòÉΓòÉ
  1227.  
  1228. In order to ensure that your system will remain operational, and provide the 
  1229. greatest possible performance, ZipStream will refuse to compress any file that 
  1230. is deemed part of the OS/2 system (including OS/2 LAN Server). 
  1231.  
  1232. You can force compression of these files using the '/F' switch e.g. 
  1233.  
  1234.   zspack /F filenames 
  1235.  
  1236. Danger: Overriding this safety feature may disable your system - use with 
  1237. extreme caution. 
  1238.  
  1239.  
  1240. ΓòÉΓòÉΓòÉ 12.3. ZipStream Decompress ΓòÉΓòÉΓòÉ
  1241.  
  1242. The ZipStream Decompress utility is used to interactively decompress files that 
  1243. have been compressed with the ZipStream Compress utility. 
  1244.  
  1245. ZipStream Decompress can be used in a Drag and Drop manner, or from the command 
  1246. line. 
  1247.  
  1248. Drag and Drop Operation 
  1249.  
  1250. For Drag and Drop, drag a folder or file object from one of the Drives  Disk 
  1251. objects to the ZipStream Decompress object  and the contents of that folder or 
  1252. object will be decompressed. 
  1253.  
  1254. By default, this operation will not decompress sub-directories.  If you wish to 
  1255. decompress sub-directories via this method, you will need to add an '/S' switch 
  1256. to the objects parameters settings.  Refer to OS/2 help on how to adjust object 
  1257. settings. 
  1258.  
  1259. Command Line Operation 
  1260.  
  1261. To operate from the command line, enter ZSUnPack at an OS/2 command prompt, 
  1262. followed by the file or directory names that you wish to process. 
  1263.  
  1264. ZSUnpack filenames options 
  1265.  
  1266. filenames  may consist of OS/2 wildcard characters. 
  1267.  
  1268. options may be: 
  1269.  
  1270. /P pause after decompression operations are completed and wait for a key 
  1271. stroke. 
  1272.  
  1273. /S descend the directory tree and decompress files with matching specifications 
  1274. in filenames. 
  1275.  
  1276.  
  1277. ΓòÉΓòÉΓòÉ 12.4. ZipStream Monitor ΓòÉΓòÉΓòÉ
  1278.  
  1279. The ZipStream Monitor utility is used to monitor the performance and operation 
  1280. of ZipStream's background compression system.  When run it will display a 
  1281. window, as shown below, that will be continuously updated at approximately 1.5 
  1282. second intervals. 
  1283.  
  1284. The ZipStream Monitor reports the following information: 
  1285.  
  1286. Outstanding Jobs 
  1287.  
  1288. This is the number of files that are awaiting background compression in 
  1289. ZipStream. 
  1290.  
  1291. Files Processed 
  1292.  
  1293. This is the total number of files that have been compressed by the background 
  1294. compression system since the last system boot. 
  1295.  
  1296. Bytes In 
  1297.  
  1298. This is the total number of uncompressed bytes compressed by the background 
  1299. compression system since the last system boot. 
  1300.  
  1301. Bytes Out 
  1302.  
  1303. This is the total number of compressed bytes output by the background 
  1304. compression system since the last system boot. 
  1305.  
  1306. Compression Ratio 
  1307.  
  1308. This is the overall compression ratio statistic which has been achieved since 
  1309. the last system boot.  A ratio of 50% means that the files have been reduced to 
  1310. half their original size or a 2:1 reduction.  The higher the value here, the 
  1311. better the compression system is performing e.g.  67% means that files have 
  1312. been reduced in size to one third of their original size. 
  1313.  
  1314. Search Cache 
  1315.  
  1316. This is the search cache hit ratio statistic, which has been collected since 
  1317. the last system boot.  The higher the value here, the better the search cache 
  1318. is performing.  ZipStream's search cache is used to optimise access to files. 
  1319.  
  1320. Processing File 
  1321.  
  1322. This is the path name of the current file being processed by the background 
  1323. compression system.  If no file is currently being processed, then the monitor 
  1324. will report 'sleeping'. 
  1325.  
  1326.  
  1327. ΓòÉΓòÉΓòÉ 12.5. ZipStream Sync ΓòÉΓòÉΓòÉ
  1328.  
  1329. The ZipStream Sync utility is used to wait for background compression 
  1330. operations to complete.  When this utility is activated the background 
  1331. compression system will receive a large boost in priority so that all the 
  1332. outstanding compression operations will be completed in the shortest possible 
  1333. time. 
  1334.  
  1335. If there are background compression operations, the utility will display a 
  1336. running counter, as shown above, until all background compression operations 
  1337. have been completed. 
  1338.  
  1339. When all operations have been completed, the utility will display a message 
  1340. box, as shown below.  Click on OK to terminate the utility. 
  1341.  
  1342. This utility is most useful when files have been written to diskette and it is 
  1343. not known when all processing has been completed.  When the utility displays 
  1344. its completion message box you will know it is then safe to remove the diskette 
  1345. from the diskette drive. 
  1346.  
  1347.  
  1348. ΓòÉΓòÉΓòÉ 12.6. ZipStream Register ΓòÉΓòÉΓòÉ
  1349.  
  1350. The ZipStream Registration utility is used to register your copy of ZipStream. 
  1351. The two numbers you need are supplied with the packaged product. Click on 
  1352. Cancel if you are not registering at this time. 
  1353.  
  1354. If you do not run the registration utility ZipStream's automatic compression 
  1355. system will cease to operate after 45 days.  However, the interactive 
  1356. compression and decompression programs (ZSPack and ZSUnpack) will always 
  1357. continue to operate. 
  1358.  
  1359. When the utility is run it will display a window for the entry of the two part 
  1360. registration number, as shown above.  You should enter the two numbers supplied 
  1361. with the product and then click on the OK button. 
  1362.  
  1363. The registration process will take several seconds, and when complete, it will 
  1364. display a message indicating the success of the operation.  If the operation is 
  1365. successful, the registration process is complete.  If unsuccessful this means 
  1366. that you have typed in one of the two numbers incorrectly, and you should 
  1367. retype them and try again. 
  1368.  
  1369.  
  1370. ΓòÉΓòÉΓòÉ 12.7. ZipStream Query ΓòÉΓòÉΓòÉ
  1371.  
  1372. The ZipStream Query utility is used to query files for compression status and 
  1373. compression ratio information. 
  1374.  
  1375. ZipStream Query can be used in a Drag and Drop manner, or from the command 
  1376. line. 
  1377.  
  1378. Drag and Drop Operation 
  1379.  
  1380. For Drag and Drop operation, drag a folder or file object from one of the 
  1381. Drives  Disk objects to the ZipStream Query object  and the contents of that 
  1382. folder or object will be queried. 
  1383.  
  1384. By default, this operation will not process sub-directories.  If you wish to 
  1385. process sub-directories via this method, you will need to add an '/S' switch to 
  1386. the objects parameters settings.  Refer to OS/2 help on how to adjust object 
  1387. settings. 
  1388.  
  1389. Command Line Operation 
  1390.  
  1391. To operate from the command line, enter ZSQuery at an OS/2 command prompt, 
  1392. followed by the file or directory names that you wish to process. 
  1393.  
  1394. e.g.  ZSQuery filenames options 
  1395.  
  1396. filenames may consist of OS/2 wildcard characters. 
  1397.  
  1398. options may be: 
  1399.  
  1400. /N report on non-compressed files only, ignore compressed files. 
  1401.  
  1402. /P pause after the query operations are completed and wait for a key stroke. 
  1403.  
  1404. /R print the compression ratio as a ratio and not a percentage. 
  1405.  
  1406. /S descend the directory tree and query files with matching specifications in 
  1407. filenames. 
  1408.  
  1409. /T print a totals report only. 
  1410.  
  1411. /W "warp factor"  report only for files compressed with the specified warp 
  1412. factor. 
  1413.  
  1414. /Y report on compressed files only, ignore uncompressed files. 
  1415.  
  1416.  
  1417. ΓòÉΓòÉΓòÉ 13. Update Policy ΓòÉΓòÉΓòÉ
  1418.  
  1419. Registered users can update to new releases of the current version at no cost. 
  1420.  
  1421. That is, version 1.xx can be updated to any other release of 1.xx at no cost. 
  1422.  
  1423. Registered users will be offered new versions at a highly discounted rate. 
  1424.  
  1425. That is version 1.xx can be updated to version 2.xx at very little cost. 
  1426.  
  1427. Registered users can update across versions at no cost if their registered 
  1428. version is less than 12 months old. 
  1429.  
  1430. That is, if you register version 1.xx and version 2.xx becomes available in 
  1431. less than 12 months, the upgrade would be at no cost. 
  1432.  
  1433. We will make new releases available on CompuServe ONLY.  Registered users 
  1434. wishing to receive updates by email, post mail, or any other method, will be 
  1435. required to pay all costs involved (e.g. postage). 
  1436.  
  1437.  
  1438. ΓòÉΓòÉΓòÉ 14. Support ΓòÉΓòÉΓòÉ
  1439.  
  1440. Carbon Based Software provides support services for Registered Users. 
  1441.  
  1442. ZipStream is supported primarily via CompuServe email and additionally in 
  1443. section 1 of the "OS2BVEN" forum.  If you wish to access this forum area type 
  1444. "GO OS2BVEN". 
  1445.  
  1446. Technical Support 
  1447.  
  1448. Technical support for ZipStream can be obtained by: 
  1449.  
  1450.  1. Email to CompuServe ID: 100351,2052 
  1451.  
  1452.  2. Email to Internet ID: 100351.2052@CompuServe.com 
  1453.  
  1454.  3. Fax mail to +61 75 29 1544 
  1455.  
  1456. In general, we try to provide a response within 24 hours. 
  1457.  
  1458. Update Locations 
  1459.  
  1460. The latest version of ZipStream can be located in the following areas: 
  1461.  
  1462.  1. Lib 1 of OS2BVEN in CompuServe. 
  1463.  
  1464.  2. Lib 4  of OS2USER in CompuServe. 
  1465.  
  1466.  3. IBM OS/2 BBS Australia (Ph +61 2 899 8311) 
  1467.  
  1468. The latest version can usually be found at various Internet FTP sites. 
  1469.  
  1470.  
  1471. ΓòÉΓòÉΓòÉ 15. Acknowledgments ΓòÉΓòÉΓòÉ
  1472.  
  1473. ZipStream has been designed, developed and manufactured in Australia. 
  1474.  
  1475. Many people and organisations have been invaluable during the development and 
  1476. testing of ZipStream. 
  1477.  
  1478. Carbon Based Software sincerely thanks:- 
  1479.  
  1480. Gary Bale, Antranig Basman, Rohaini Cain, Chris Eldridge, K.  R.  Fulton & 
  1481. Associates, Scott Garfinkle, Michael Hagerty, Greg Hamblin, Ron Hester, Kevin 
  1482. Hine, Bill Hinkle, Bruce Leiwant, Ed Lipson, Steve Mastrianni, Steve Richards, 
  1483. Ed Tomlinson, Mike Vorris, Steven White, Samuel Yodaiken, The IBM Developers 
  1484. Assistance Program both Australian and World Wide and many many more. 
  1485.  
  1486. ZipStream was developed and published with the following tools:- 
  1487.  
  1488. IBM CSet++ V2.1, Zortech C++ V3.0, Word for Windows V2.0, Corel Draw V3.0. 
  1489.  
  1490. We use Golden Commpass for our CIS access. 
  1491.  
  1492.